
#include "..\include\TowerDEvent.h"
#include <QtGui>

using namespace std;

TowerDEvent::TowerDEvent(bool eventType, QPointF * toPosition, QPointF * fromPosition)
{
    this->eventType = eventType;
    this->toPosition = toPosition;
    this->fromPosition = fromPosition;
}

TowerDEvent::~TowerDEvent()
{
    //dtor
}

void TowerDEvent::setEventType(bool eventType) {
    this->eventType = eventType;
}

void TowerDEvent::setToPosition(QPointF * toPosition) {
    this->toPosition = toPosition;
}

void TowerDEvent::setFromPosition(QPointF * fromPosition) {
    this->fromPosition = fromPosition;
}

bool TowerDEvent::getEventType() {
    return this->eventType;
}

QPointF * TowerDEvent::getToPosition() {
    return this->toPosition;
}

QPointF * TowerDEvent::getFromPosition() {
    return this->fromPosition;
}

